package stage_1_module_4.code.homework_4;

import java.io.Serializable;

public class UserMessage implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = -2809666025546775294L;
    private String type;
    private User user;

    public UserMessage(String type, User user) {
        this.type = type;
        this.user = user;
    }

    public String getType() {
        return this.type;
    }

    public User getUser() {
        return this.user;
    }

    public void setType(String type) {
        this.type = type;
    }
}
